<?php /* Smarty version 2.6.12, created on 2008-11-21 10:20:32
         compiled from admin/main/statistics.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_select_date', 'admin/main/statistics.tpl', 21, false),array('modifier', 'strip_tags', 'admin/main/statistics.tpl', 27, false),array('modifier', 'escape', 'admin/main/statistics.tpl', 27, false),array('modifier', 'date_format', 'admin/main/statistics.tpl', 108, false),)), $this); ?>
<?php func_load_lang($this, "admin/main/statistics.tpl","lbl_statistics,lbl_date_from,lbl_date_through,lbl_submit,lbl_date_setting,lbl_total_statistics,lbl_number_of_customers,lbl_number_of_providers,lbl_number_of_products,lbl_number_of_root_categories,lbl_number_of_subcategories,lbl_number_of_orders,lbl_general_statistics_for_period,lbl_new_customers,lbl_new_providers,lbl_new_products,lbl_new_orders,lbl_total_statistics,lbl_top_pages_views,lbl_shopping_cart_conversion_funnel,lbl_top_paths_thru_site,lbl_log_in_history,lbl_browser_settings,lbl_search_statistics,lbl_users_online"); ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "page_title.tpl", 'smarty_include_vars' => array('title' => $this->_tpl_vars['lng']['lbl_statistics'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<!-- IN THIS SECTION -->

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "dialog_tools.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<!-- IN THIS SECTION -->

<br />
<?php if ($this->_tpl_vars['mode'] != 'adaptives' && $this->_tpl_vars['mode'] != 'users_online'):  ob_start(); ?>

<form action="statistics.php<?php if ($GLOBALS['HTTP_SERVER_VARS']['QUERY_STRING']): ?>?<?php echo $GLOBALS['HTTP_SERVER_VARS']['QUERY_STRING'];  endif; ?>" method="post">
<input type="hidden" name="mode" value="<?php echo $this->_tpl_vars['mode']; ?>
" />

<table cellpadding="1" cellspacing="1">

<tr>
	<th align="right"><?php echo $this->_tpl_vars['lng']['lbl_date_from']; ?>
:</th>
	<th><?php echo smarty_function_html_select_date(array('prefix' => 'Start','time' => $this->_tpl_vars['start_date'],'start_year' => $this->_tpl_vars['config']['Company']['start_year'],'end_year' => $this->_tpl_vars['config']['Company']['end_year']), $this);?>
</th>
	<th align="right"><?php echo $this->_tpl_vars['lng']['lbl_date_through']; ?>
:</th>
	<th><?php echo smarty_function_html_select_date(array('prefix' => 'End','time' => $this->_tpl_vars['end_date'],'start_year' => $this->_tpl_vars['config']['Company']['start_year'],'end_year' => $this->_tpl_vars['config']['Company']['end_year']), $this);?>
</th>
</tr>

<tr>
	<td colspan="4"><input type="submit" value="<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['lng']['lbl_submit'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp, false) : smarty_modifier_strip_tags($_tmp, false)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" /></td>
</tr>

</table>
</form>

<?php $this->_smarty_vars['capture']['dialog'] = ob_get_contents(); ob_end_clean();  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "dialog.tpl", 'smarty_include_vars' => array('title' => $this->_tpl_vars['lng']['lbl_date_setting'],'content' => $this->_smarty_vars['capture']['dialog'],'extra' => 'width="100%"')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<br />
<?php endif; ?>

<?php if ($this->_tpl_vars['mode'] == 'general'): ?>

<?php ob_start(); ?>

<table cellspacing="0" cellpadding="0" width="100%">

<tr>
	<th class="TableHead" colspan="2" align="left" height="16">&nbsp;<?php echo $this->_tpl_vars['lng']['lbl_total_statistics']; ?>
</th>
</tr>

<tr> 
	<td height="10" colspan="2"></td>
</tr>

<tr> 
	<td valign="top" width="343" class="Text"><?php echo $this->_tpl_vars['lng']['lbl_number_of_customers']; ?>
</td>
	<td valign="top" width="67" class="Text" align="right"><?php echo $this->_tpl_vars['statistics']['clients']; ?>
</td>
</tr>

<tr> 
	<td height="10" colspan="2"></td>
</tr>

<tr> 
	<td valign="top" width="343" class="Text"><?php echo $this->_tpl_vars['lng']['lbl_number_of_providers']; ?>
</td>
	<td valign="top" width="67" class="Text" align="right"><?php echo $this->_tpl_vars['statistics']['providers']; ?>
</td>
</tr>

<tr> 
	<td height="10" colspan="2"></td>
</tr>

<tr> 
	<td valign="top" width="343" class="Text"><?php echo $this->_tpl_vars['lng']['lbl_number_of_products']; ?>
</td>
	<td valign="top" width="67" class="Text" align="right"><?php echo $this->_tpl_vars['statistics']['products']; ?>
</td>
</tr>

<tr> 
	<td height="10" colspan="2"></td>
</tr>

<tr> 
	<td valign="top" width="343" class="Text"><?php echo $this->_tpl_vars['lng']['lbl_number_of_root_categories']; ?>
</td>
	<td valign="top" width="67" class="Text" align="right"><?php echo $this->_tpl_vars['statistics']['categories']; ?>
</td>
</tr>

<tr> 
	<td height="10" colspan="2"></td>
</tr>

<tr> 
	<td valign="top" width="343" class="Text"><?php echo $this->_tpl_vars['lng']['lbl_number_of_subcategories']; ?>
</td>
	<td valign="top" width="67" class="Text" align="right"><?php echo $this->_tpl_vars['statistics']['subcategories']; ?>
</td>
</tr>

<tr> 
	<td height="10" colspan="2"></td>
</tr>

<tr> 
	<td valign="top" width="343" class="Text"><?php echo $this->_tpl_vars['lng']['lbl_number_of_orders']; ?>
</td>
	<td valign="top" width="67" class="Text" align="right"><?php echo $this->_tpl_vars['statistics']['orders']; ?>
</td>
</tr>

<tr> 
	<td height="10" colspan="2"></td>
</tr>

<tr>
	<th class="TableHead" colspan="2" align="left" height="16">&nbsp;<?php echo $this->_tpl_vars['lng']['lbl_general_statistics_for_period']; ?>
: <i><font color="#000099"><?php echo ((is_array($_tmp=$this->_tpl_vars['start_date'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['config']['Appearance']['datetime_format']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['config']['Appearance']['datetime_format'])); ?>
 - <?php echo ((is_array($_tmp=$this->_tpl_vars['end_date'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['config']['Appearance']['datetime_format']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['config']['Appearance']['datetime_format'])); ?>
</font></i></th>
</tr>

<tr> 
	<td height="10" colspan="2"></td>
</tr>

<tr> 
	<td valign="top" width="343" class="Text"><?php echo $this->_tpl_vars['lng']['lbl_new_customers']; ?>
</td>
	<td valign="top" width="67" class="Text" align="right"><?php echo $this->_tpl_vars['statistics']['clients_last_month']; ?>
</td>
</tr>

<tr> 
	<td height="10" colspan="2"></td>
</tr>

<tr> 
	<td valign="top" width="343" class="Text"><?php echo $this->_tpl_vars['lng']['lbl_new_providers']; ?>
</td>
	<td valign="top" width="67" class="Text" align="right"><?php echo $this->_tpl_vars['statistics']['providers_last_month']; ?>
</td>
</tr>

<tr> 
	<td height="10" colspan="2"></td>
</tr>

<tr> 
	<td valign="top" width="343" class="Text"><?php echo $this->_tpl_vars['lng']['lbl_new_products']; ?>
</td>
	<td valign="top" width="67" class="Text" align="right"><?php echo $this->_tpl_vars['statistics']['products_last_month']; ?>
</td>
</tr>

<tr> 
	<td height="10" colspan="2"></td>
</tr>

<tr> 
	<td valign="top" width="343" class="Text"><?php echo $this->_tpl_vars['lng']['lbl_new_orders']; ?>
</td>
	<td valign="top" width="67" class="Text" align="right"><?php echo $this->_tpl_vars['statistics']['orders_last_month']; ?>
</td>
</tr>

</table>

<?php $this->_smarty_vars['capture']['dialog'] = ob_get_contents(); ob_end_clean();  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "dialog.tpl", 'smarty_include_vars' => array('title' => $this->_tpl_vars['lng']['lbl_total_statistics'],'content' => $this->_smarty_vars['capture']['dialog'],'extra' => 'width="100%"')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<br />

<?php else: ?>

<?php if ($this->_tpl_vars['mode'] == 'shop' && $this->_tpl_vars['active_modules']['Advanced_Statistics'] != ""): ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "modules/Advanced_Statistics/advanced_stats.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php else: ?>

<?php ob_start(); ?>

<?php if ($this->_tpl_vars['mode'] == 'pagesviews'):  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/main/atracking_pageviews.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  $this->assign('box_title', $this->_tpl_vars['lng']['lbl_top_pages_views']); ?>

<?php elseif ($this->_tpl_vars['mode'] == 'cartfunnel'):  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/main/atracking_cartfunnel.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  $this->assign('box_title', $this->_tpl_vars['lng']['lbl_shopping_cart_conversion_funnel']); ?>

<?php elseif ($this->_tpl_vars['mode'] == 'toppaths'):  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/main/atracking_toppaths.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  $this->assign('box_title', $this->_tpl_vars['lng']['lbl_top_paths_thru_site']); ?>

<?php elseif ($this->_tpl_vars['mode'] == 'logins'):  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/main/atracking_logins.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  $this->assign('box_title', $this->_tpl_vars['lng']['lbl_log_in_history']); ?>

<?php elseif ($this->_tpl_vars['mode'] == 'adaptives'):  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/main/atracking_adaptives.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  $this->assign('box_title', $this->_tpl_vars['lng']['lbl_browser_settings']); ?>

<?php elseif ($this->_tpl_vars['mode'] == 'search'):  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/main/atracking_search.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  $this->assign('box_title', $this->_tpl_vars['lng']['lbl_search_statistics']); ?>

<?php elseif ($this->_tpl_vars['mode'] == 'users_online'):  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "modules/Users_online/stats.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  $this->assign('box_title', $this->_tpl_vars['lng']['lbl_users_online']); ?>

<?php endif; ?>

<?php $this->_smarty_vars['capture']['dialog'] = ob_get_contents(); ob_end_clean();  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "dialog.tpl", 'smarty_include_vars' => array('title' => $this->_tpl_vars['box_title'],'content' => $this->_smarty_vars['capture']['dialog'],'extra' => 'width="100%"')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php endif; ?>

<?php endif; ?>